﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using secondhand.L2busslogic;
using secondhand.L1database;
using secondhand.L3object;
using System.IO;

namespace secondhand.L4view
{
    public partial class search_list : System.Web.UI.Page
    {
        public static string ID;
        public static string bookTime;
        public static string salerName;
        protected void Page_Load(object sender, EventArgs e)
        {
            goodsOB mydd = new goodsOB();
            mydd = goodsBL.Getwordsingle((Session["goods_Name1"].ToString()));
            salerName = mydd.saler_name;
            Label6.Text = mydd.goods_name;
            Label7.Text = mydd.goods_type;
            Label8.Text = mydd.goods_price;
            Label9.Text = mydd.goods_describe;
            Image1.ImageUrl = mydd.goods_picture;
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Page.ClientScript.RegisterStartupScript(Page.GetType(), "message", "<script language='javascript' defer>alert('您还没有登录！无法购买 ');</script>");
            Response.Redirect("~/L4View/yonghu/yonghu_login.aspx");
        }
    }
}